Move loading spinner logic to controller.
Extract classes for Stroom and Gas view
Remove main.js class since it's no longer used.
Remove explicit element ids from Stroom and Graph views.