=change syntax to use phosim-3.3.2 and modularize through pickling