OOP for parser.php #3