Client side business logic, most skeleton code done, with some of the server response code done as well.

Removed two duplicate classes.