basic static file and api server