Made accelerometer its own class. added capabilities to find speed and
angle of tilt