Created the layout and implemented the index template