layer-cake layer to publish system and process stats to firebase