Added event handler, and Memwatcher