fixed routegenerator so that it _ACTUALLY_ works

learn how a class is structured. seriously
http://askhelixfossil.com/#s341ht