Add learner task in scheduler. Learner lifecycle refactory