docs: function parseConfig() {
    
    // Get main config
    var p = this.path + '/config/',
        files = protos.util.getFiles(p),
        mainPos = files.indexOf('base.js'),
        jsExt = protos.regex.jsFile,
        configFile = this.path + '/config.js';
  
    // If config.js is not present, use the one from skeleton to provide defaults.
    var config = (fs.existsSync(configFile)) ? require(configFile) : protos.require('skeleton/config.js');
        
    var baseConfig = (mainPos !== -1) ? require(this.path + '/config/base.js') : {};
  
    _.extend(config, baseConfig);
    
    // Extend with config files
    for (var file,key,cfg,i=0; i < files.length; i++) {
      if (i==mainPos) continue;
      file = files[i];
      key = file.replace(jsExt, '');
      cfg = require(this.path + '/config/' + file);
      if (typeof config[key] == 'object') _.extend(config[key], cfg);
      else config[key] = cfg;
    }
    
    // Return merged configuration object
    return config;
  
  }