Clean and fix confdb.py for FastSim