What was the purpose of the Continental Congress?

It's purpose was to make preparation for war call for peace and declare independence.