OOP for parser.php #2