Adding configuration manager for managing the current running context, adding default configuration files for different environments, refactor modifications for main Application