A PHP active record based library