tweak travis config
change app to kernel and general tidying up
simplify events a bit
add some docblocks