added part to setup postgresql database