I would like to create a service which performs a number of tasks after rendering the view. I should i do this? Do I have to create a module just like "frontend", and hook that into an event? Or should I create a component or plugin which is being executed as the event occurres? I do not exactly how to put this.
What the service should do: each registered module has a configuration for the specific service. As the event occur the service will take all those configurations and process them at once.