create common db module for backends