Following an awesome tutorial I found on teh internetz. Uploading source code here.