I have collected some great open source code and put them all together here.