moved view structure into application layout; moved content into partials