Refactor QlibTestDataset and QlibBacktest classes for improved structure and readability. Update inference logic and main execution flow.