Removed the pages from the index file

Moved everything to its own file