fixing logger pattern and eventMonitor creation. For some reason @Inject does not work properly. http://stackoverflow.com/questions/9719743/instantiation-of-bean-through-factory-method