Added aggregate functions

Added Aggregate methods such as : min, max, avg, sum etc