[MOVE]planner: move generic class from planner_crm to planner module, keep only less file and improve js code.