default to empty hash
support platform specific metrics
implemented cpu usage metrics
remove debug