Main page layout , move resources to assets, Search bar template on homepage.