API for initializing and using heca