moved set directory configuration to centralized config file
moved card database xml config to file