added fields to initial and regular states
store goal and start in instance variables