update app for socket.io 1.0
add package.json