Feature/shared views

Common code from views is now moved into shared partials.