fixed identifier misspellings in do_set()
First working cut of HostDatabase class. Can insert, query ports and host info.  Runs a test routine if run directly from the command line.