Move create files to generate method
Merge pull request #54 from mruz/master

Move create files to generate method