renamed ApplicationState class