loadModelVersion(db, !exists);
tagModel = new TagModel(db);
webModel = new WebModel(db);
variableModel = new VariableModel(db);
httpMacroModel = new HttpMacroModel(db);
identityModel = new IdentityModel(db);
requestLog = new RequestLog(db);
scanAlerts = new ScanAlertRepository(db, xmlRepository);
conditionManager = new HttpConditionManager(db, conditionChangeManager);
targetScopeManager = new TargetScopeManager(db);
return db;