Get event machine working