Removed field factory of AddModelCommand, which caused issues because
the field was serialized and thus the latest version was persisted.
Instead, a local factory variable is used within executeOn.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>