Created Service for recording the sensor motion.

Need to move code to read values from sensor into the service