removed logger from EventListener and Template main class