corrected undo class update.
added some more tests.
added tests to update teacher-view in the domain store.

added equals and hashcode in some model classes for ease of testing.
more refactoring.
moved next day period calculation to a helper class. (added tests for the same).