Refactor 'nnttrss--{read,write}-*' into 'nnttrss--{read,write}-vars'
First pass at implementing all required backend functions