merged and setup postgress