That's really cool man. I didn't have to go through detox, luckily, but it sounds like you really want to be clean. The first two weeks is easy. After that, it just gets harder and harder. I have almost six months from marijuana, but about five from drugs in general.
I seriously recommend going to a drug group. They helped me out a lot. If not for them, i'd probably be in a world of shit right now. I have a sponser, and am currently working the steps.
Most importantly, don't think "I need to stay sober for five years" Or something like that. Just take it one day at a time. Commit to not doing drugs in 24 hour intervals. The time will fly by.
Best of luck to you man, and remember: If you ever need somebody to talk to, you can hit me up.