added directory creation in scaffolding