anchor.diff:  	};
   	
   	/**
  -     * called when application starts
  -	 */	
  +	* called when application starts
  +	*/	
   	void function setupApplication(){
   		ORMReload();
   		
   		// setup bean factory
   		var beanfactory = new frameworks.org.corfield.ioc( "/model" );
   		setBeanFactory( beanfactory );
  +
  +		// add validator bean to factory
   		var ValidateThisConfig ={ definitionPath="/model/", JSIncludes=false };
   		beanFactory.addBean( "Validator", new ValidateThis.ValidateThis( ValidateThisConfig ) );
  +
  +		// add meta data bean to factory
   		beanFactory.addBean( "MetaData", new model.beans.MetaData() );
  +
  +		// add config bean to factory
   		var config = getConfig();
   		beanFactory.addBean( "config", config );
  +
  +		// add exception tracker bean to factory
   		var HothConfig = new hoth.config.HothConfig();
   		HothConfig.setApplicationName( config.applicationname );
   		HothConfig.setLogPath( "logs/hoth" );
  
positive.code: 	}
  	
  	/**
       * called when page request starts
  	 */	
  	void function setupRequest(){
  		// define base url
  		if( CGI.HTTPS eq "on" ) rc.basehref = "https://";
  
negative.code: 			}
  			, exceptiontrackerconfig = { 
  				emailnewexceptions = true
  				, emailnewexceptionsto = ""
  				, emailnewexceptionsfrom = ""
  				, emailexceptionsashtml = true
  			}
  			, filemanagerconfig = {
  