There's a detailed FAQ on folder formats which is a good way to get started.
All the things you want to do are possible.