Working on event system
Added function definitions to eventmanager.cpp
Updated event system. Framework complete
Merged event and gui work