Added I2C and shakespeare functions, major logic changes so that only certain functions run when an event is detected