Converted groupmanager to use any Manager type instead of only SimpleManager