This is an initial, rudimentary attempt at integrating the scheduler into the kent hierarchy. There are likely gonna be drastic changes in the future, and i haven't even tried running the whole thing. But hey, the code compiles again now!