Major code overhaul.
Added a Makefile to automatically generate the pictures.
Also added a dependency on MCAD libraries.
Merge branch 'master' of https://github.com/asilenzi/CAD