Added a writer class to write out migrations and models
Added the generate command to generate models and migrations