updating textmin to use shared pkg. Closed #2.