Working MVC example

Cleaned up some prints and errors