Move such repeating section into seperate classes and/or files to make them reusable. _Originally posted by @rettigl in https://github.com/OpenCOMPES/mpes-tools/pull/4#discussion_r2040282524_