Apply the MPL-2.0 license to all source files and include the full license text to ensure legal compliance and proper attribution.
Replace repeated Arc> and Arc> with concise type aliases for readability.