Moved some re-usable code to url_lib_factory and added documentation