Who served commander-in-chief of the continental army