Use into_string().
Add some response builder tests.
Use a fold for response building.
Use explicit looping condition for loop_body.
Extract setting of looping flag.
Factor out loop_comm.
Greatly refactor I/O code.
Factor out read_task into command.rs.
Separate out I/O code.
Remove unused imports.