update sensor configuration API
Merge pull request #4 from Floppy/new-sensor-api

Simplified sensor configuration API