ApiClass: connect2Api, processData methods written