initializing and registering CoreListener