add documentation and option to overwrite some templates