Created Index file

This runs the main code