code: function View_setModulesViewsPath(dir) {
              var list, name, moduleToLoad, LoadedModule, moduleInstance;
              if (this.isDir(dir)) {
                  list = this.readDir(dir);
                  while (true) {
                      name = list.shift();
  
                      if (!name) {
                          break;
                      }
  
                      moduleToLoad = dir + '/' + name;
  
                      try {
                          LoadedModule = di.load(moduleToLoad);
                      } catch (e) {
                          throw new error.HttpError(500, {path: moduleToLoad}, 'Missing module', e);
                      }
  
                      if (!Type.assert(Type.FUNCTION, LoadedModule)) {
                          throw new error.HttpError(500, {path: moduleToLoad}, 'Module must be function type');
                      }
  
                      moduleInstance = new LoadedModule(name);
  
                      if (!(moduleInstance instanceof ModuleInterface)) {
                          throw new error.HttpError(500, moduleInstance, 'Module must be instance of ModuleInterface "core/module"');
                      }
  
                      this.normalizers.push(moduleInstance.getViewsPath());
  
                      this.config.themes.forEach(function (name) {
                          this.paths.push(moduleInstance.getViewsPath() + name + '/');
                      }.bind(this));
                  }
  
              }
          }
docs: @since 0.0.1
  @author Igor Ivanovic
  @method View#setModulesViewsPath
  
  @description
  Set modules path