created the basic layout on the main page