Some of my code can be found here.