calculate url upon object construction.

Further calls to getURL() can be quite expensive on Android environments.
As a good practice avoided unnecessary mutability of location fields, good for thread safety and the avoidance of logic weirdness that can come up with undesired mutability.