configure postgresql data directory. Closes #3