Factor out firebase calls into separate object-model with defined interface

Implement stub version of model which uses in-memory array for testing purposes.
Add note into Readme that live example is unmoderated