fixed SQL dump
Changed diagram table and Diagram class
Uploaded original project CoCaEx-compatibility