add resourcePath and node modules path setters
add file/string write support