updated API and classes to emitter token refactor
working on compiler front end