Implement metric reception & storage
WIP: non functional code