Refactor init to setup paypal with paypalrestsdk.