Fix postgress problem and start dev of 4 part