more explorations into http-served data; nest functions so that packages can namespace themselves