added sample php active record model as example