Database: default collection to BTreeMap
Database: connect in one place