with firebase etc

Final version for class