added ConfigManager to dependencies of Controller