Move unused services detection from frontend to backend/API (Github #50)