allow for multiple instances of HTTPAPI
beginning of persistent state