some thrown together example code for making the beginnings of a phly restfully service