adds a service api + dev env