delete package URLConstant
create new class FactoryBrowsersException
create new class WindowHandler
common refactoring code