add socket.io
move public folder