module(factory) {
    return factory.apply(this, [this]);
  }
Modules are simple functions that you can use to organize your code in different files and folders.
@param {Function} factory Called immediatly and receives the bot instance as its only parameter.