MVC model, classes defined