bug/non.streaming.jar -- input output specification

This implements the initial support for specifying the input and output for the jar. It uses INPUT_MARKER and OUTPUT_MARKER. It is still probably suboptimal and needs tests. Let me know what you think.