first pass at integrating socketio