Initial commit. Index file generation working