added listener class and base config