renamed index, added template file