Extracted UPNP functionality from GUI into seperate classes.