Removed most of the template code. Layout of main page.