I've used coderus patches as examples to learn how to create them. I looked at EmaNymton's sailgoal application to understand python.