updated to use dpath

using dpath makes my code a lot simpler (although it introduces
a dependency on dpath).

added a README file.