Add flowchart (flow.svg)

Add a flowchart of events between the client and server, and .gitignore.