refactoring based on new version of NanoHTTPD: including a HTTPD class that inherits from vanille core NanoHTTPD
update refs