option for postgres server
simulation and plotting with postgres server
added plot scripts