an orm and acrive record implementation in php based on the MySQL Querying style