db module intialization