Added pattern evaluator. Added pattern to the init module.