converted object ivars into class properties. hopefully fixes #5.
Xcode's being crazy. I'm not surprised.