Initial import of real code
Implemented Ender.cli for binstub entry point