Added the first cut of the three states for the views. The current conditional logic is ugly and needs to be refactored.