[WIP] Add directory as option for createall command

Related with #1958 
Sure. My first draft with YAML also. I will update it.