added lower level core database classes