dmsimulation cleanup
fixed leak
removed setAccessedByModule & getLastModule()