Fixed issue #20, code refactoring, fixed PodSpec

I have made some changes.
First, I've refactored code to modern ObjC. 
Second, I've fixed issue #20. 
Third, I've fixed DoubleNode's PodSpec.