separated out class
Refactored Proxy.cs