remove useless component and create checkbox directive