Moved query parsing to requestInterceptor.js and deleted the hideous requestDirector.js