AppHapiCache is the main class handling command-line parameters. There are a number of InputStreamProviders, which is a way to abstract a source for InputStreams, so the response can be assembled opening one source at a time. These InputStreams can come from Files or URLs, and may have come processing done on the input.