Added old version of CALPGM API. This version is incomplete but stored here for archival purposes!