Added tidy method to tidy up updates.
Added configuration file and options to control