bug fixing in most places, WIP in BasicOperator.cpp and the reading of parameters in  ReadWrite.cpp