Finished StateManager. Calling it from Manifest now