Implement db access via services