Added event handlers

Note: will not compile because of LNK2001 error