created the basic layout of the pages