command structure complete, accelerometer readings working