Initial design for scheduler

@snorberhuis Do you have some initial feedback on this design?

In case you have questions, please ask me. I think the whole thing should be relatively self-documenting though