appSettings are now injected into application object instead of being
passed as run method's parameters.