remove unused
modify configuration
remove unused paymentcontroller method