Adding the metrics system interfaces to communicate with the backend