added public folder, neatified server.js