Allow subdomains to be blank.
Add some more endpoints.

WIP - more to come.