Adde case statements
Added some default behavior and notes
Have a basic SEM sim working
Fixed query output
Writes test commands with some test values