moved DbAdapter into it's namespace