starting to implement firebase-resource