2014.10.28 Reworked IO class for effeciency.