Rails Backend for studyqz