Card reader implementation