Config via JSON file

@lholmquist please review