adding helper.py for query and query result processing