Sync Cloud

Implementation to sync with firebase.io (not finished yet!);