Added tentative implementation of answer check, solved racing condition by adding transactions, improved encapsulation of RTCounters factory and Classroom service.