Fixed depricated direct access to isa member, using object_setClass() instead. added xcode files