moved db definitions to dca