Fixing several stuff. Overworked the URL class for more convenience at use.