Extract REST fs service from red-pill into a module