Cleaned up the code for exploding a URL;
stubbed the new referer fields