Passes 4/5 Tests

Passes 4/5 Tests.

Most recent change:
Removed urlparse library and implemented own parsing of URLs.