Defined the api interface to work with eloquent properly, adding the year changing, and adding the month changing