Added reader and writer model