[TASK] Remove legacy classes

A bunch of classes can be removed as they are not used anymore.

Change-Id: Ie1ad6295d873f26b29b13a8fb8592411c886f45a
Releases: 0.4.0
Resolves: #59155
Merge "[TASK] Remove legacy classes"