Updated commenting and structure of the deck obstacle and accelerometer