Added basic functionality and a simple test case for the Database class