Add basic Pin model file, clean up lazy vars.
Squashed 'Frameworks/realm/' content from commit b4f8b86

git-subtree-dir: Frameworks/realm
git-subtree-split: b4f8b8638f366b79ecbc6004804cb34aaac7a288
Merge commit '51f3df3a60840462d48be6cccc7d6a7e631d10b4' as 'Frameworks/realm'