Add gauge class

This adds gauges to record arbitrary values.

Please let me know what you think. Thanks!