refactoring CompositorComponent and rename to ClassesCompositorComponent
extract classes for event listeners