Basic scheduler ready, now to implement the run before/after