- changed the way ply public key is being processed
- added an option to test google's test product ids
- arranged code in init function (just a little)