Minus pistachios

This removes the dependency on pistachio from the KD framework