Update request_context
Add next_arg to commands, and other refactoring.
Pass tests for commands except prepare and create.
Remove specs no longer needed.