First implementation of IOManager
Fixed #22, Also completed #11