Writing views that actually do something, adding error handling.
added 400/500 error templates.