first commit, added socketio code and basic new functionality