Implementing more functionality in the chain. Updating the planner to properly use TSRchains for the goal.