Use placeholders in templates and update docs

This will make it easier to being editing the generated model file. It also updates the docs.