Put database handler in namespace