Added automatic keyfield, converting model name into proper underscored field name.
Work on distributed processing of queries.