significant refactoring done. added integration testing for output of full years. calendar is fully functional for output of individual months and years.