Moved firebase ref up to app config.