functional evolution

creates full html output, reorder data, reformat data.