As the sounds of musket and cannon fire filled the Philadelphia air , Jefferson , Benjamin Franklin , John Adams , Roger Sherman and Robert R. Livingston worked on the draft , which they forwarded to Congress on July 1 of that year .