Rename role to function to avoid misunderstanding.
Add Algorithm-Group entity.