Add some comments in active_learner and prepare for using external module.