more work in pcsc addon, almost finish