Added reset support to header generation function.
Updated readme slightly to allow use. Detailed readme coming later.