Split planner into 2 classes