A rudimentary ActiveRecord implmentation specifically targeted at PHP 5.2