RestAPI updated and decision service integrated.