updated python files to reflect new structure and fixed segment fault in nefd