initial commit of os_query.py