Updated formatting and commenting. Added mutator methods for Unit, and by extension, for the rest of the stuff that extends it.