Implement a Calculator class in the /app/ directory that can perform basic arithmetic operations. The class should have the following requirements:
Create a method called add(a: float, b: float) -> float that returns the sum of two numbers.
Create a method called subtract(a: float, b: float) -> float that returns the result of subtracting the second number from the first.
Create a method called multiply(a: float, b: float) -> float that returns the product of two numbers.
Create a method called divide(a: float, b: float) -> float that returns the result of dividing the first number by the second. If the second number is zero, it should raise a ValueError with the message "Cannot divide by zero."
Ensure that the methods handle both integer and float inputs and return results in the appropriate format. The code should be organized and include docstrings for each method detailing its functionality and parameters. The implementation should pass all provided tests that check for various arithmetic operations and edge cases, such as division by zero.