Extract the load_calendar method

This method can be used to load some calendar data programatically,
not loading it from a yaml file.