Adding in-app-purchase classes and callbacks