NEW added AppID as argument0 for loadAPI method