Added cEveventManager Class

Added event manager class and modified rest of classes to accomodate.
Still not working but code is stable.