Added metrics support (Codahale Metrics) libraries and wrapped device
management API with metrics hooks.