Starting to work on accelerometer object. Does not yet handle filtering