some modifications on the pycad implementation to make it easier to build interfaces for other mesh generators. The script statement generation is now done by the Design and not the Primitive classes.