Created reusable remote-db element for real-time synching json object with server using websockets.