Added comments. Added Astah file of the diagram and changed the diagram so it shows the State Pattern.