initial commit fair scheduler - largely untested
minor update