extract model from server socket.io service code
convert model to redis storage (async)