added code for calling ROS services, for sending Prolog queries via json_prolog, and for calling static Java methods to the flowchart visualization tool