#7: Minor change to reader
Updated Writer
#8: refactored writer
#7 #8: refactored reader writer
resolved branch

closes #7 closes #8