Begin to add code for accelerometer. This doesn't compile at all
and the project still doesn't work.