add cli actions
wait until dbs are ready before write / read
fix location comparison bug
synchronize db with remote and prune