DB: create extra directories for database types
DB: Create a class for each database type; add to stat-object
DB: on init/update call functions in database type class
Merge pull request #63 from plepe/db-database-type-class

DB: create a class for each database