function Controller(s, m, t, h, l, sb) {
  this.storage  = s;
  this.mailer   = m;
  this.template = t;
  this.server   = h;
  this.logger   = l.child({component: 'controller'});
  this.slackBot = sb;
}
/**
 * A controller containins the primary business logic for all subuscriber module
 * services. It is constructed with references to necessary external services
 * and provides an interface for each of its public service offerings.
 *
 * @constructor
 * @param {Object} context          - wrapper of necessary services
 * @param {Object} context.database - database engine
 * @param {Object} context.mailer   - SMTP engine
 * @param {Object} context.template - template engine
 * @param {Object} context.logger   - logger engine
 */
A controller containins the primary business logic for all subuscriber module
services. It is constructed with references to necessary external services
and provides an interface for each of its public service offerings.


A controller containins the primary business logic for all subuscriber module services . It is constructed with references to necessary external services and provides an interface for each of its public service offerings .
function Controller(s, m, t, h, l, sb) {
  this.storage  = s;
  this.mailer   = m;
  this.template = t;
  this.server   = h;
  this.logger   = l.child({component: 'controller'});
  this.slackBot = sb;
}
function Controller ( s , m , t , h , l , sb ) { this . storage = s ; this . mailer = m ; this . template = t ; this . server = h ; this . logger = l . child ( { component : 'controller' } ) ; this . slackBot = sb ; }
A controller containins the primary business logic for all subuscriber module
 services.
A controller containins the primary business logic for all subuscriber module services .