postgresql configuration

Included instructions for postresql configuration as well!