Updated the q module with node adapter functions.
Change module to declare module
Merge pull request #588 from AndrewGaspar/master

Added q node adaption functions