Reengineered the Scheduler part of Alitheia Core

Added a new type of worker and removed the old ones (Deprecation)
Added a new Scheduler
Added a dependencymanager
Added tests for the new implementation