it compiles and things are quite a bit neater

especially since i did some stuff to take out the boilerplate for the
various get-request route for the existing apis.

also fleshed out most of the operations.

next step: POST based apis.