first working version of plotting tool
with new, redefined architecture