Implemented simple card reader API.