Wrapped database in module