Add state manager
Merge branch 'master' of github.com:Open-Wide/OWEditorial