Merging the firebase example with the basic interface