add server for retriving page and websocket framework for exchange the data.