Added a script to auto generate the WCF Proxy file. Refactored much of the WCF code.