Added play method in model to support executing commands on a model.

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