MVC Branch

I ripped out all the statics in the client classes and replaced them
with MVC pattern.