simple server for api interaction