added firebase-backend and tests.