refactored application-context-configuration
temporarily added debug output