Added State Storage to the Application class