Move role to model