comments in weio_gpio.py and some cleaner arrangements