Basic Firebase functionality and abstraction.