Created the layout for the Main Page