Replace observer pattern with new one and added event manager. AH-176