added '.json' extension, so responses render nicely in browser.  broke endpoints into groups.