Gravar-mail: Ab initio study of CsI and its surface