Refactoring of IOManager. Abstraction of Piface and IPX800