Refactoring SchedulerCore final part.

Bugs closed: AURORA-94

Reviewed at https://reviews.apache.org/r/24815/