A simple URL parse helper class