refactoring the whole project
add time restriction to the FSM for jumping detection
make mode update observable, check JumpBug classs to see how to use it
comment on how to determine different event
merge acc for tilting detection and linearacc for jumping detecton