initial commit of index controller