added sum, min, max, avg methods for db servicew