Support load from nib.
Merge pull request #4 from BB9z/nib_support

Support load from nib.