Set up server to send responses to index.html
Created core.js file & mainController