Refactored sensor interface. Improved language module.