added package lookup endpoint.
Merge pull request #2 from bcoe/tests

added tests around package lookup logic