add data data-structure
some testing stuff
rename json into data
dont use json any more because a plain format is easier to parse