Refactoring: StaredRepoController js class added.