Started on gauge refactor, decoupled panel from switch

Deleted observers.js because I'm not going to be using it.