A activerecord implementation for wordpress