Abstraction of firebase binding into a service, for testability and maintainability