renamed and reworked the postgress plugin