Refactor and Firebase the matchmovegames repository