Start adding accelerometer support