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

...lot tables + view plot

Refactoring of tools scripts
The name of the table and the columns needs changing to something more meaningful