Changed get_info to return Result and made sample_format method public. Closes #27. Closes #28
Merge pull request #29 from mitchmindtree/master

Changed get_info to return Result and made sample_format method public.