Added Main and UrlPopup classes