Basic Database class defined.