First version of tools to extract/plot data from DB