clean up
added PlanSpec class
added PlanSpec for internal usage