Added Singleton Database class for mocking a DB