public synchronized static ILocator getLocator() {
		if(locator == null) {
			locator = new RedpinLocator();
		}
		
		if (locator instanceof RedpinLocator) {
			if (SVMSupport.isTrained()) {
				locator = new SVMLocator();		//locator is changed only once 
			}
		}
		
		return locator;
	}