Database schema changes: splitting plot table into dataset and visible_p...

...lot tables + view plot

Refactoring of tools scripts
remove this debug message