implement json output
split data into 3 files
tree input selection and start then