changed the Accelerometer class to a thread operating on a timer
initial commit
initial commit