Created the initial version of encodetool.