update socketio implementation. removing restful controllers.