started to layout the main page