Added Abstract::Database class that implements logic for abstract database.