docs: function importLogic(root, app) {
      var list = fs.readdirSync(root);
  
      var i = 0, file, obj;
      for(;i < list.length; i++) {
          file = path.join(root, list[i]);
          // All sub directories
          if ((fs.lstatSync(file)).isDirectory()) {
              importLogic(file, app);
          } else {
              // Only .js and .coffee file will be use
              if (!path.extname(file).match(/(.js|.coffee)/)) {
                  continue;
              }
  
              // Disable require cache
              // delete require.cache[require.resolve(file)];
              obj = require(file);
  
              for(var cmd in obj) {
                  // Discard cmd start with ~
                  if(/^~/.test(cmd)) {
                      continue;
                  }
                  if(obj.hasOwnProperty(cmd)) {
                      applyRoutes(cmd, obj[cmd], app);
                  }
              }
          }
      }
  }