pull url stuff in to it's own module

- trying to clean up proxy module