Add device-sensor-channel tree supprt

- fixes in command line parser. Some validation added
- added -d option handling