load a model on entity creation if one is specified.

This fixes #11.