Comment out main
Implement card open,close,read,write methods