some rework of dicesim, added rundicesim wrapper