General cleaning of main code in probabilities.py, all input data and code for loading from files separated to BayesianInputData class, global variables moved to config