Add read and write methods to Buffer. Add documentation to buffer and util modules.