Init index file and makefile