Setting up layout in Main Page