Create IReader and IWriter