code: function (routes) {
  		var self = this;
  
  	
  		fs.readdirSync(this.middlewareBasePath()).filter(file => file.match(/\.js$/) || file.match(/\.coffee$/)).forEach(function (file) {
  			var middlewareName = file.replace(/\.js$/, '').replace(/\.coffee$/, '');
  			self.middlewares[middlewareName] = require(path.join(self.middlewareBasePath(), middlewareName));
  		});
  
  
  		for (var root in routes) {
  			if (root && routes[root]) {
  				for(var key in routes[root]) {
  					var method = key.trim().split(' ')[0].toLowerCase();
  					var routerMiddelware = routes[root][key];
  					var endpoint;
  
  					if (root == 'index') endpoint = ((key.trim().split(' ')[1].toLowerCase() != '/') ? key.trim().split(' ')[1].toLowerCase() : '/');
  					else endpoint = '/' + root + ((key.trim().split(' ')[1].toLowerCase() != '/') ? key.trim().split(' ')[1].toLowerCase() : '');
  
  					self.__endpoint__handler(method, endpoint, routerMiddelware);
  				}
  			}
  		}
  	}
docs: ****************************************************************
  |	Description: Middelware initialization.
  ****************************************************************