move code into gists, some cleanup, and publish
rename since Im publishing a day later