Basics are in place for switching between views