adding run server and api