REF: move config to a json file since you can require those in node eee