Got proof of concept working for allowing user to specify input context and translating to internal context.
Got initial proof of concept of output context working, but it's really messy.