intial bootstrap setup and the template index file.