Move calendar functions to autoloadable utility class