Code cleanup.
Add option to load an order from a JSON file.