Refactorin: StaredRepoController js class added.