Introduce event emitter to notify listeners of changing preferences
Update package.json