added parseURL

First Try at parseURL