Implemented flags differently.
Forgot to add a destructor to the state.
Added the STC and CMC commands.