Merge pull request #206 from jamiehannaford/common-result

Adding common result struct