Main page template and some formatting