Feature/sql in dca

Database definitions (fields and keys) moved from "database.sql" to the respective DCA