Refactored and splitted model/view parts.

App now only contains routes, view/controller logic went to
views.clj.