Apply moving average to active distance calculation. Add feature that
output data to a local redis
Merge remote-tracking branch 'origin/master'