Newgen muradyan

Tests for Scheduler are more or less complete. LocalTimeScheduler has some fixes.