I haven’t tested this out myself yet but I think in the rust you can compile the canister(actor-class) in a separate-folder to wasm, then take those wasm-bytes and hardcode them into the rust canister that is creating the new actors and have it call the create_canister method on the management-canister with the wasm-bytes as the parameter for the wasm-module.