Added flags to make some core functionality optional

Added notify

Bug fix

Modify class params

new test

Remove notify

Update README.md

Update README.md

Restoring the before clause for write to xml

Fixed incorrect variable name

Made the write to xml conditional flag work

change requires to require

Update code so that this can be called many times