Simple class designed to ease manipulation with composite database objects in PHP