Experimenting with final code architecture using states, also experimenting with mouse click and state transitions