Refactored database module to rely on prior init (not lazy init)