Configreaderwriter

add read write mechanism