Added implemented grammar.
Implemented ClassController.