Refactored layouts/applications into partials and improved css on navbar and body