added mechanism to find vcgencmd path
refactored ip adress query to support other interfaces than eth0
added wlan status query