Added a Database class