Add doccomments

Signed-off-by: John Else <john.else@citrix.com>
Refactor the reader and writer modules

Moved reader_types -> rrd_reader
Moved writer_types -> rrd_writer

Signed-off-by: John Else <john.else@citrix.com>