started BaseHTTPServer example code from https://wiki.python.org/moin/BaseHttpServer