Split the Main page layout

Changed the layout to split stylesheets, navbar, body, and javascripts.