Refactored the code to remove all the year reference and replaced them with
three variables which are declared in the function for the class. And can be reused.
Merge pull request #3 from icyflame/refactor-years

Refactored the code to remove all the year references