replacing result db (a list) with a pandas dataframe. adding some output parameters to pandas config, too