Create token, role and permission model, and move grader_configuration out of namespace grader