Preparation to integrarete with WebSockets module