Adding H[1-4] tags to replacement_map.
replacement_map renamed to 'transform_map' and moved into a separe file.