Remove static variables in Patterns, add color initializer to scanner