Begin to integrate socket.io code
Remove lib directory