Xcode 5.1 Compatibility

- Converted to ARC

- Added required magic numbers

Fixes #4