Added a Database class with test file.