New java gauges class and class that retrieves data from database