add/edit a class view half done. Need edit part