Enviar por SMS: Ab initio study of CsI and its surface