Update planner.py

Added newtask and newitem views.