more pymstri functionality exposed + minor changes