Added queries.py file