made lesson template more complete and changes name of file and function to author_lesson