Refactored entire codebase to provide a unified query output format that is manipulated via a report command.