added server.js, did some other small changes to UI