move repo_access and assignment_repo out to methods
move repo_access and assignment_repo out to methods

AlvarezAriel/classroom,guoyu07/classroom,jasnow/classroom,uqbar-project/classroom,chengjunjian/classroom,AlvarezAriel/classroom,nfeliciano/classroom,kwangkim/classroom,jasonlong/classroom,RyanTech/classroom,BelieveC/classroom,mostlybadfly/classroom,nfeliciano/classroom,alejandrogarciasalas/classroom,chengjunjian/classroom,mkcode/classroom,jasonlong/classroom,BelieveC/classroom,RyanTech/classroom,nfeliciano/classroom,jingruoruchu/classroom,kwangkim/classroom,BelieveC/classroom,kwangkim/classroom,bhanuc/classroom,hackerkid/classroom,uqbar-project/classroom,chengjunjian/classroom,mkcode/classroom,adoosii/classroom,bhanuc/classroom,guoyu07/classroom,ConnorCartwright/classroom,alejandrogarciasalas/classroom,chenwenbin928/classroom,chenwenbin928/classroom,ConnorCartwright/classroom,BelieveC/classroom,tjhorner/classroom,mkcode/classroom,RyanTech/classroom,uqbar-project/classroom,jingruoruchu/classroom,jingruoruchu/classroom,sicipio/classroom,sicipio/classroom,bhanuc/classroom,AlvarezAriel/classroom,jasonlong/classroom,hackerkid/classroom,hackerkid/classroom,alejandrogarciasalas/classroom,jasnow/classroom,chenwenbin928/classroom,mostlybadfly/classroom,sicipio/classroom,mostlybadfly/classroom,adoosii/classroom,tjhorner/classroom,ConnorCartwright/classroom,jasnow/classroom,guoyu07/classroom,tjhorner/classroom,adoosii/classroom