put url generator in module