Implemented Save States with an example

Savarn, Kellie, please take a look. Ryan and I can explain it all
sometime.