split StudyService scala file into two: StudyService and StudyProcessor