Revert "core: changes to scheduler module"

This reverts commit fe7e0f25cc2840c5a6796d8916c49a800ed785c1.

Change-Id: I5d088fc65fb1df234f3b586a5081d209ef3483c8
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>