Refactored outgoing requests into command pattern
Intra-query result caching