Logic

This file handles the logic and calls a specific view when needed.