externalized databasecontroller