the constitution was written and made into law creating the united states of america immediately at the end of the revolutionary war​