Scheduler

To test, run the included unit tests. Also test it on OpenWRT, make sure the node retains connectivity as expected.