Refactoring, breaking pieces apart to reduce closure depth in lift process and provide cleaner access to methods on the Sails app instance.