Refactored card reader clients to shared and external projects.