added configuration class for the database