add factory_orders_gen_tools.py

add factory_orders_gen_tools.py for factory orders.