Upnp discover hardware resource added

added upnp discovery and fixed some documentation bugs. please review my code :)
why is this commented away? I think this is needed