Continued fleshing out the planner using example code. Still doesn't
actually do anything yet.