Added function to Map Card Types for Litle Gateway
PSR fixes on the Library