split executable/sampling lib so distribution can put executable 'perg' rather than perg.py