J.S.
One of my boys had horrible gas. I learned that rubbing his tummy firmly in circles, then bending his knees and gently pushing them up to his chest again and again, would eventually get the gas to work through.
As for sleeping, is he falling asleep on his own?? If he's not, yet, it's time to start putting him in his bed while he's awake. The first few times might be tough, but he'll catch on quick--it's easier now than later. That should help with the night waking. If he's already falling asleep on his own, you'll probably need to just let him cry it out. It can take 20-30 minutes the first time, but after that shouldn't take much. He'll catch on quick that young.