Added State Manager class.

Added ARKStateManager and the corresponding ARKiOSStateManager. State navigations mostly work now. Still missing delta time and input data.