lightweight API server