just cloned active_record_lite