Move newCoder/destroyCoder functions to top of file. Makes sense from a documentation point of view.
Removing cruft
Adding instance reference to all method calls back in coder API. Don’t know what I was thinking when I removed them. Needed for memory handling.