Moved chapter 1 stuff to ori-rep namespace
Move write result back to core
Tranlation function