Documenting the Emitter class
Moving window functions to base
Added more comments