add home page. add layouts into templates.