Merge "added api and implementation of device meter registry"