Separate a) initialization of the http api and b) actually serving the api into 2 distinct jobs