Added renders for topbar,alerts and footer.

Moved code into partials for cleanup of code in application layout.