Library for easy interaction with "phoenix-type" card readers