I have been working on a similar concept. I posted in the Newbie section but in the meantime there has been a great post put up by 'tiktoc'. url: https://bitcointalk.org/index.php?topic=162788.0;topicseen
Topic: Avalon users: bitcoind and slush's/generalfaults mining pool setup.
Amazingly straightforward after spending some intimate time with the code.
I was able to get everything going and tested on testnet.
Best of luck,
--> Sebek1006