[TASK] Refactor creation of Component class names to own method