Better Constructor for EventEmitter and State objects