Add queries to classroom model and rake task, add benchmark to rake task