Phase 3 of changes from feature/modules_integration
refactors views into several modules
adds error handling decorator
adds views and controllers