Add event manager, move from .cpp to .cc, compilation works.