Added basic functionality to server.js