started working on the api server