moved Role and Bean to Util