Added a class and testClass for Database