Mass. Company's Bet on Shale Revolution Paying Off