New event system + Implemented chat handler