mate.py refactoring, lookup directories for setup configration file