Http api

First pass wire up of (most) HTTP endpoints but without authentication.
Why is this being removed?