renamed ComplexPattern to CardPattern, started Analyzer class definitions