Convert to proper CLI utility, move name parts to JSON file