Allow -d and -h as command line flags.  These are used to generate only the .h or _data.h files respectively.  Restructure code to allow for this.
Allow -d and -h as command line flags.  These are used to generate
only the .h or _data.h files respectively.  Restructure code to allow
for this.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase