public function init(StackableStructureMap $structureMap, AspectRegister $aspectRegister)
    {

        // collect the passed instances
        $this->structureMap = $structureMap;
        $this->aspectRegister = $aspectRegister;

        // load the configuration
        $config = $this->getConfig();

        // pre-load the configuration values
        $this->cacheDir =  $config->getValue('cache/dir');
        $this->environment = $config->getValue('environment');

        // we want to know if there are namespaces to be omitted from autoloading
        if ($config->hasValue('autoloader/omit')) {
            $autoloadingOmitted = $config->getValue('autoloader/omit');
            $this->autoloaderOmit = !empty($autoloadingOmitted);
        }

        // we now have a structure map instance, so fill it initially
        $this->getStructureMap()->fill();
    }