integrated ALG CAL API, connected it to OSP API & Alg task