Upon the commencement of this Act, all the undertaking, business, goodwill, assets, property real and personal, effects, choses in action, claims, demands, rights and privileges then belonging to the factory or used for the purposes thereof shall be and are hereby vested in the company and shall and may be held, possessed, enjoyed, used, exercised, executed and enforced by the company in the same manner and to the same extent as they could or might have been by the board of management of the factory if this Act had not been passed, notwithstanding that any of the property, effects, choses in action, claims, demands, rights or privileges were by virtue of any law or agreement or otherwise non-assignable or non-transferable without the consent of any person or at all.