add index controller to project
add index controller to server.js