Implemented index.thml