make the calcapp concurrent, and provide websocket service