I'm trying to decompile an app that connects to a weather station and allow you to configure it to connect to WU and other PWS sites, and write an app that will allow you to have the station upload to a site of your choice such as to weewx or a webserver. It's not really rewriting someone else's code, as much as it is trying to figure out how to connect to the PWS and make it more functional for myself and anyone else that has this particular PWS.