Added functionality to add/update/delete events and sampling events
Merge branch 'refactoring' of https://github.com/PhenotypeFoundation/GSCF.git into refactoring