Version 0.2.2

Code changed to be compatible with XCode 5