added default layout and templatized index.html