[WIP] Add directory as option for createall command

Related with #1958