written decorator, will write tests
Added tests and caching to get_data function, also merged with origin
Merge pull request #6 from jchrusciel/bug_675

Bug 675