adding socketio factory