An api for managing DBs