Heavily reworked process_url, updated localize_url and delocalize_url to reflect (also added filters to localize_url)