add Main class that is just a regular main program
cosmetic, comment
actually call the flush/close methods on open output files
move schedulers to sub-package in preparation for different ones
add a convenient foreach on state
add possibly unnecessary conversion for Delta
add first try at karr scheduler
rename MoisMain to model
modify ProcessGroupTest to follow Model
merged some local changes in State
merged from master
WIP: new Vars, VarRefs, VarVals and the like