moved api -> service
server can now call services