Added API class and updated interactive_pxweb()