added structure around client to site connections, cleanup, updated codemirror to 3.0.2