include stdbool in eventlogger.c
Remove event generator from main, post mpu events