MCA-specific extension

* template formatting methods
* don't swallow exceptions
* write "x-mca" fields to Codegen classes
Enable different package names for models

This is done by prefixing the model name with a package string