Use relative module paths in config module

Allows the test/example code at the bottom to actually execute.
Convert config file handling to JSON
Move config handling from pvoutput org module to config module