Added helper functions for views
Added views for planner. Adding courses to Planner has weird bug