Added more stuff to server.js, file is not quite done yet.