Added simple proxy classes (time to start working on server side support, yay!).
Cosmetic code changes (formatting).