documents have ids, logging, settings added

Added all the ids to all the template documents including the html
commend for the tech spec, updated readme to reflect this, also added
some simple logging and the new settings in the config file