Added abstract database and some other database classes.