Improvements to export.kerr
move fouls module to events