For presentation purposes, the code is uncommented, does not follow IntraMagic coding standards, and uses plenty of hard coded strings. But it's pretty easy to understand.
Just compile into a common directory, and have fun.