added toy api server, need to convert to real thing