refactored cal class into cal, year, and month classes. updated test sweet to reflect revised methods.