Require url module
Add logic to parse url pathname and save to local var pathname