Conf file is now JSON and read in dynamically.

Some lint issues fixed.