Modified database model and add PHP object models