The model is a separate class in my example, is it not?

Whether you separate model and controller is always your choice.

Cheers,
_