changed to use new res_buf interface
updated modules to create resources with this ptr instead of context
Merge pull request #154 from rwcarlsen/res-this

updated modules to create resources with this ptr instead of context