Added MSEAPI to Project properly and added event handlers