Layout of main page completed