changed example data files to json
Added visible routine and events