Better separation between frontend and webservice.