implement super class 'parser'.
simplify each parser with 'parser' super class.