change the interface around so you can access the dbs as properties of
the exported object