added wifi-config and auto update

I used mikerr's idea of wifi-config but made my own code for some of it. ;)