Custom PHP Framwork with ORM