better process handling + /status REST call