initial commit
modified to use external logging file, class variables, etc.