refactoring
moved Role and Bean to Util