Adding commands for models and schema migrations
Abstracted method and added views command