Upnp discover hardware resource added

added upnp discovery and fixed some documentation bugs. please review my code :)