Made emitter abstraction
Removed unused files