Added inputs and outputs (vocabulary) to memory