using generated models.

started cli app.
new migration.
application wrapper class.
renaming public