make Impls package-private,
rework of Lexer
rework of CardReader