issue-2 change declarations to use shared_ptr
Merge pull request #5 from zalando/issue-2

issue-2 change declarations to use shared_ptr