A small refactoring.
Dividing module EventQueue into two specialized ones: Comp.IO and Comp.Template