standardized db access via Repository class working and testable