Make further progress on Image2Terminal

This lays out the basic structure which will be required to implement
this. Only a `coord`, which takes a one dimensional index and transforms
it into a 2 dimensional index is needed.