Month class refactoring