Added fixes and prepared for nice Python interface to describe simulations - everything will be done in swig files , i.e. the parsing of pythn structures before they are input into c++