Added database settings setters and a additional constructor for specifying default db type.