refactor(plan): Create plan with class method

Remove the PlanFile class form the input module.
Create a Plan object using the from_file class method of Plan.