refractor restaurant

it now extends the DataAccessObject abstract class