added server.js and moved static files to public