Move single study related code from StudiesResource with StudyResource