Major revision to dashboard code and wire up of new design to backend