Adding phpActiveRecord