adding external db module