merged all the app's states into a central app-state