Beginning of Planner Class