Added event module. Fixed topology_util bugs.