Implemented basic state manager.
Merge branch 'master' of github.com:hexanome/setre2013