#236 Move config into python module