Clean stared imports and remove useless method.
Creates an abstraction of URL representation to deal with frameworks extensions requirements like spring.