ActiveRecord ORM layer for FoundationDB