refactored sensor system, now ready to add more signals
Merge origin/prolog1 into prolog1