Thanks for making the code public, but since it's the first time I see something like this, I don't see why you shouldn't slap a $5 price tag on it on the Appstore :)
At any rate, Bartender has been around for years, works great, and has a ton more features.