added wrapped attach/detach/sensorchanged event args
moved files into categorical subfolders