move Role and RoleCompletion to generic proj