Revised dependencies and added postgresql distribution module