starting a db library