dded Class for modeling Card and Port