Adds query framework to people.py