Refactors Gauge model to use ActiveResource