Moved IO package from Fort to here. Added BuildArray.