Introduced modelq.py for queries related stuff