Added a viewStateService object to persist the state of the application view. Will handle persistence to Firebase in the next commit.