API metric:  support for default group;  Refactored monitoring API;  Added metric cdv file and json convertor.