Change accessor and mutators

Changed the getters and setters, and changed the toString. Also,
certain variable names got changed.