Moved commands around, implemented director, implemented changestatecommand