more changes for the commit @bb43784--  Removing use of subclassed application constant and instead using the more agnostic Rails.application syntax.