server #17
#17 adding API for GoalState