Lots of new stuff

Added or modified:

1) added function to generate server list
2) added function to execute winexe
3) rewrote checking for DNS
4) added hosts file check
5) changed output in logfiles
6) added code to write all output to logfiles
7) renamed/refactored/cleaned up some code