move controllers/clients to frontend