Extract TreeCache and WebSocketServer