how to map table to class in Doctrine with php

Hi I am new to PHP and Doctrine I am trying to follow through with this tutorial:

I defined class Person at the root of project
( in the database I had table Person like class Person)…I was trying to get person name for some id..I was not able to do the part of $paths and $path correctly and got compile errors…so commented those parts and executed the program….the result somehow was deletion of Person table in db.
my code as follows:`

So how do I set $paths and $path? so that person table can be created in db.
or data can be retrieved from existing table `