public static function wake( $environment ) 
	{
		if ( !is_null( static::$environment ) )
		{
			throw new CCException( "ClanCats::wake - you cannot wake the application twice." );
		}	
		
		// set environment
		static::$environment = $environment;
		
		// load the main configuration
		static::$config = CCConfig::create( 'main' );
		
		// setup the application error tables
		CCError_Inspector::info_callback( 'ClanCatsFramework', function() { 
			return array(
				'Runtime Class'		=> \ClanCats::runtime(),
				'CCF Version'		=> \ClanCats::version(),
				'CCF Environment'	=> \ClanCats::environment(),
				'Development env'	=> var_export( \ClanCats::in_development(), true ),
				'File extention'		=> EXT,
				'Core namespace'		=> CCCORE_NAMESPACE,
			);
		});
		
		CCError_Inspector::info_callback( 'CCF Paths', array( 'ClanCats', 'paths' ) );
		CCError_Inspector::info_callback( 'CCF Directories', array( 'ClanCats', 'directories' ) );
		CCError_Inspector::info_callback( 'Namespaces', function() {
			return \CCFinder::$namespaces;
		});
	}