Refactored PlanView, removed deprecated code and updated Knockout.