Main now imports index.
Index file is now properly imported in main. Instantiation is still broken. WIP.