Refactor into separate class for setting up Views and changing state