added various things and fixed the urls class