Updated support for accelerometer readings. Created a factory for surveys in general