Add rubric class and junit test class for rubric