Add socket event listeners and refactoring for generic notify function
Add socket event listeners and refactoring for generic notify function

FedorSelitsky/eventrack,FedorSelitsky/eventrack,FedorSelitsky/eventrack,FedorSelitsky/eventrack