Changed the main templated to render from views and organzing the index.html