refactored internals to use `Result` instead of tuple
support dcValue feature
Merge pull request #9 from uber/dcValue

Add support for dcValue