Lets put all the shared logic for creating the url classloader into a separeate class that can be used by both LiferayTomcatUtil and the Hook wizard.