start working on the api server