added max connection parameter to evaluation
cleaned up python files