Ik heb alle source code even in een projectje geplaatst, zodat je er mee kunt spelen. Je vindt de sources hier.