I have designed two ways you can connect your course wwmoodle, wwquestion. I recommend you use wwquestion. This effectively allows you to add webwork questions directly into your moodle course's question bank. It is also the faster and more stable alternative of the two.
I can help you get up and running... my email: email@example.com