Add functionality to send over public key in the calls
Pass in obj instead of just pubKey
Make things not fail when no key is passed in
Merge pull request #8 from ordrin/dev_polina

Dev polina