code: public function createService(ServiceLocatorInterface $controllers)
  	{
  		if ($controllers instanceof ServiceLocatorAwareInterface)
  		{
  			$services = $controllers->getServiceLocator();
  		}
  		else
  		{
  			$services = $controllers;
  		}
  
  		return new Controller\Index($services->get('RdnConsole\Application'));
  	}
docs: Create service
  
  @param ServiceLocatorInterface $controllers
  @return Controller\Index