Generated a base class to be able to get instance of different class
Added a new layer, so that the database drivers is configured in the databaseInfo