config file changes

added libconfig
added json-parser
adding patch-based displacement field computation