Figure 2:
MVC architecture.