Renamed `EnvelopeHistoryQuery` to `HistoryQuery` and `ReadEnvelopeHistoryQuery` to `ReadHistoryQuery` to improve clarity. Moved `StatusQuery` to the new `EnvelopeGenerator.Application.Histories` namespace. Updated `HistoryController` to use `ReadHistoryQuery`. Removed unused `using` directives and added relevant ones to align with the new structure. These changes enhance code maintainability and organization.