Extract firebase code into a service module