Modified Payment_system class