creating payment manager and gateways