created main page and default layout