refactor(controller): remove urlparse logic

The logic has been moved over to the registry, so it's not needed any more.