ADD: Headers / detector.py + Testing code