Refactor global_origin_circuit_list code into separate functions.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information