This should be a private function, we don't want to expose the ability to directly start the api outside of the master