StateManager Implementation, a normal class, usable to implement states in your code.