Rearranged the accel_state struct to hide implementation.

This completes rearranging all structs to hide impl, so I ticked it
off