Update db module to create a singleton _DB instance.