url resolution and parse