Changing folder structure

Adding inc/ folder.
Seperating the index file in to smaller chunks.