Added singlePayment class and singlePaymentModel.