The formation of the American Republic, 1776-1790