Added selector.py