refactored c code binding.gyp
version bumped to: 0.3.4