Basic PHP ORM that still needs work on Generalization