moved rex_path/rex_url to lib/util

closes #189