Added empty index page
Added server.js
Added app.js and main.js
Attached main.js to client-side
Fixes in server.js