Turned ApplicationState Class into an Interface