Update the code for the min,max, test=develop
* Add the max, min, maximum, minimum api for the API 2.0, test=develop