transform callback class into singleton
improve log messages