Wow, I am so sorry for your loss.... I think there's some great advice up here. i wish you the best of luck. surround yourself by people who care about you and love you, and try to avoid things that put you in a situation where you'll be tempted. good luck!!
I'm so sorry for all you are going through. Everyone here has had some good posts, and I don't think I could add much.
I just wanted to say that we are all here for you as you try to work through this. As far as the breakup ... that's his loss. Please don't let yourself lose all that you have worked for up to this point. Try to keep busy with other things and people.