Implement a functionality for managing a simple to-do list application. The application should allow users to add, remove, and list tasks.
Requirements:
Task Model: Create a Task class in /app/ that represents a single task. Each task should have the following attributes:
id (integer): A unique identifier for the task.
description (string): A textual description of the task.
completed (boolean): A flag indicating whether the task is completed or not (default should be false).
ToDoList Class: Create a ToDoList class in /app/ that manages a collection of tasks. This class should have the following methods:
add_task(description: str) -> Task: Accepts a description and adds a new task to the list, returning the created Task object.
remove_task(task_id: int) -> bool: Accepts a task ID and removes the corresponding task from the list. Returns True if the task was successfully removed, and False if the task ID does not exist.
list_tasks() -> List[Task]: Returns a list of all tasks in the to-do list, including their details (id, description, completed status).
Data Persistence: The task list should be stored in memory. Upon instantiation of the ToDoList class, it should be initialized with an empty list of tasks.
Testing: The functionality must satisfy the provided test cases located in the appropriate test file. Ensure to run all tests after implementation to confirm correctness.
Implement the classes and methods as described, placing the code in the /app/ directory.