Start of Shell adapter. Handles input but not output that well yet