Finished basic form of scheduler with a single merit function (observable).  This is untested code.