I've published the base source code, with BSD license, at google code (http://code.google.com/p/raleigh). You can download it using Mercurial.
hg clone https://raleigh.googlecode.com/hg/ raleigh
The usage is very simple, and the source code contains Test Cases and Examples that shows how to use all the "classes". For more information feel free to send me a mail.