modes: wrote abstract message events.
main: added event driven architecture.
Note: still need to handle IMU messages.
Should be using a special mode switcher.