added utility function to goal

also set up the goal parameters system and the GoalEditor with modifier.